﻿using System.Net;

namespace CkSoftware.GroupMe.Sdk.Core.Dao
{
	/// <summary>
	/// Global wrapper class for any API response with <see cref="HttpStatusCode" />.
	/// </summary>
	public class ApiResponseWithStatusCode
	{
		/// <summary>
		/// The API result Json string.
		/// </summary>
		public string ApiResponse { get; set; }

		/// <summary>
		/// The <see cref="HttpStatusCode" /> which was given by the executed HttpRequest to the API.
		/// </summary>
		public HttpStatusCode StatusCode { get; set; }
	}
}